<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%     
	String path = request.getContextPath();     
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";     
%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>查看部门</title>
    <base href="<%=basePath%>"/>
    <link rel="stylesheet" type="text/css" href="css/common.css" />
    <style type="text/css">
    	fieldset,legend,form,table,tr,td,textarea{margin:0;padding:0}
    	table{margin:10px 10px};
  		td{line-height: 40px;}
  		label {font-weight:bold;}
	  input[type="text"]{width:250px;}
	  input[type="password"]{width:250px;}
	  input[type="textarea"]{width:250px;}  		
    </style>
  </head>
  
  <body>
    <fieldset>
      <legend>查看部门：</legend>  
        <table>
          <tr>
            <td><label >部门编号：</label></td>
            <td>
            	<input type="text" disabled="disabled" value="${dept.deptNo}" />
            </td>
          </tr>
          <tr>
            <td><label >部门名称：</label></td>
            <td>
            	<input type="text" disabled="disabled"  value="${dept.deptName}" />
            </td>
          </tr>
          <tr>
            <td><label >上级部门：</label></td>
            <td>
            	<input type="text" disabled="disabled"  value="${pDeptName}" />
            </td>
          </tr>
          <tr>
            <td><label >地址：</label></td>
            <td>
            	<input type="text" disabled="disabled" value="${dept.address}" />
            </td>
          </tr>
          <tr>
            <td><label >地区：</label></td>
            <td>
              <input type="text"  disabled="disabled" value="${dept.area}" />
            </td>
          </tr>          
          <tr>
            <td valign="top"><label >描述：</label></td>
            <td valign="top"><textarea  cols="40" disabled="disabled" rows="3"><c:out value="${dept.describe}"/></textarea></td>
          </tr>                   
          <tr>
            <td></td>
            <td>
            	<input type="button" id="btn_back" value="返回" onclick="javascript:history.go(-1);" style="width:80px;" />
            </td>
          </tr>
        </table>  
    </fieldset>  
  </body>
</html>